#pragma once
#include "CBaseObject.h"

class CRetroInput;
class CDirect3D;
class CObjectManager;
class CCamera;
class CPlayerObject : public CBaseObject
{
private:	
	POINT m_ptAccel;
	CObjectManager* m_pObjMan;
	CCamera* m_pCamera;
public:
	CPlayerObject(void);
	~CPlayerObject(void);

	void Initialize();
	void Initialize(int posX, int posY, float depth, int collisionWidth, int collisionHeight);
	void Input(CRetroInput* pInput);
	void Update(float fDeltaTime);
	void Render(CDirect3D* pRender, CCamera* pCamera);
	void Destroy();
	bool CheckCollision(IBaseObject* pObject);
	inline ObjectType Type() { return OBJECT_PLAYER;}

};

